Removes all bad effects up to level X.