Fix compare/equalto validation convention