fixed LifecycleQueries.getHighestEnvironmentalLifecycleState (did not return the highest state)