Fix for reversed direction of arrows in curvilinear grids