fixed a problem with the way that open rows were tracked where we were tracking columns instead of rows