add a fatal if max-expires is less than min-expires
(cherry picked from commit d351baea) (cherry picked from commit 4e2e1148)