Fixed botched compare