Fixed `date_hierarchy` navigation not finding the model class.