Fix handling of expiration time on the status page