Added FilteredSubscriber (fixes #5)

Updated version of the patch in #5.