Fix valid username check