Fixes issue #420, https://github.com/dangrossman/bootstrap-daterangepicker/issues/420