Fix a bug with detecting if usernames are available.