fix merge join to handle case where right batch has zero records
lower quantity threshold in tech query 18 so that more than zero records are returned