Rework split_exprs function in index.py (per DVarrazzo),  Fixes #98.