Bugfixes in substring handling