fixup! fixup! use substring(BytesRef) in SubstrFunction