Fixed find by userReference query.
Merge branch 'master' into dox-30