Improved generic build_query function - prevented attaching empty terms to query.
Merge pull request #3368 from lwyszomi/112666-case

Improved generic build_query function - prevented attaching empty terms ...