Fix for issue# 35716: additional check added in method hasRange to detect cellrange over a single cell