Fix delete cache so it also deletes location with run = None.