Query to ignore fields with empty content

Thanks a lot Jaspreet! This query is working as expected.