Fix a bug where Total duration in months was showing zero when no date criteria