Added ability to force partial index optimization
Merge branch 'feature/optimize'