Fixes a bug with the edit user form