Check that a max_age value is passed before checking things against it