Fix typing for specifiers.BaseSpecifier.filter()
#643
Merged
specifiers.BaseSpecifier.filter()
#643