Don't allow text range with size 0