Bug 6236 : When checking for expiry don't try to process 0 dates