Some servers returning references to an invalid index value if the SQL query returned is empty
Merge pull request #149 from ajeh/zen_has_product_attributes

Some servers returning references to an invalid index