These two new conditions should be merged into a single statement - if the product object is empty under the new spec, then it will have two children (linked_products and reviews), whereas you are only checking for 1.