Fix past month period in request handler