Prevents invalid usernames to be used as mentions