Don't allow to get ranges out of grid boundaries