fix the equal to notEqual on Id comparison