Fixed username uniqueness check.