Implemented oveloaded operators for filter class.