Added option to filter editorial annotations, fixed bug in annotation.py