Add in_stock condition to resoure query.