Fixed a bug introduced in the last commit. It caused the inputs to not update when the user hide the date range picker.