Compare entity ids instead of entire entity objects