Added support for no start/end or out of bounds.