Changed the spots that referred to the filter_level as filter_flags