Fixed typos in assert for Filter.h