Update manager.py

Added parens around 'Or' predicate group.