Refined where query for dirty/clean to accept an array of http statuses