Hi David,
And before I forget, regarding filters: by default, B1 filters nothing. It means that when you access the object for the first time in your addon, it has a specific definition telling to not filter. YOu have to remove this definition, then to add the specific filter(s) you want to use.
Regards,
Eric