Fixed logic reversal from last minute refactor