Speed up a little

Avoid unnecessary comparative instructions