Fixed model comparison determining if ID updated

changed === to _.isEqual