Fixed filtering for usernames with spaces