enforce min and max date in custom date range if it exists

Used this for a project and noticed that the custom range let's you go outside of the bounds of min and max date.  Not sure what else may need to be updated, but this will change the start / end inputs to the min / max if you enter a value outside of those params.