fix small bug in import_filters, also fixes #29