Better maxAge handling, allows zero as value