Fix unserializing filters