Switched signs back in the comparison to the correct way