Ensure daterage does not throw error when focussing out