* Cleaner code.

purgeExpired could be called even if no requests have expired yet. This change
in code accomodates for that.