For doing a few levels deeper in the schema in searches, you can use dot or slash notation.
profiles.profile.quotes.quote = 'Love is a snowmobile racing across the tundra and then suddenly it flips over, pinning you underneath. At night, the ice weasels come. - Matt Groening'
or
profiles/profile/quotes/quote = 'wat'
As for gender, you might try
gender = 'male' OR profiles.profile.gender = 'male'