Fixed bug with highestPhase method which was stopping any changes