fix getFragmentByRange logic for same text node, closes #1123
fix getFragmentByRange logic for same text node, closes #1123

ianstormtaylor/slate,isubastiCadmus/slate,ashutoshrishi/slate,ianstormtaylor/slate,6174/slate,AlbertHilb/slate