Magic Toenail: Fixed miracle bug

Fixed a bug that unlocked certain miracles at the wrong time