Set max values for date pickers; Added query details;