Got the sense of the comparison wrong

Sorry, I only ran the test I added, hadn't noticed I had forgot to invert the comparson.