Add more safety to random bonuses, to ensure that they can't cause endless loops or mess up modifier amount