fix for negative substring length for top-level category_path matching data_item
Merge remote-tracking branch 'origin/london_hackathon' into pre-release-v1.2