Fixed EZP-21057: Unable to delete a content with an empty file attribute

Do not pass an empty array to query expr. (return without executing query at all)