Add support for foreign and unknown in debug filter