Programs: test_plan: Using an extra flag for requesting DB state.
Plan/Engine: Fixed typo in boolean operator.