dont filter by ids if we don't have ids

42 jobs for 1594-rewrite-api in 54 minutes and 55 seconds (queued for 7 seconds)