[Shapes] Fixed inequality logic error in Arrow