Fix error if a user doesn't have a mode set