Set the correct maxAge property