Fixed error with the filter