Minor bug fix when editing a user