Fixed slow compare