Compare ids instead of user objects