Added additional shop filter for query. It should narrow down the amount of unnecessary data being worked with by SQL.