Fixed error related to end of row/column single points