Fixed splice() ClassCastException issue 1445
Merge pull request #2461 from kfeuz/Issue1445

Fixed splice() ClassCastException issue 1445