Remove an odd redundant comparison