Fix nil issue on filter
Merge pull request #32 from CruGlobal/fix_nil_error_on_measurement_type_filter

Fix nil issue on filter