Related products query now handles homeless products