Ignore empty username/email values when cleaning the QueryForm

Fixes #101.