Moved the deuplicated position number test into user model.