Filter memory bugfixes.