Fix error with url cache purging test.  Followup to #850.