Adds lazy stackable where query