Fix disappearing types when they are filtered