It was having issues, I might have been able to figure it out but in the interest of time, I had to move on. I might have tested using a select statement to make sure the desired tab was at focus.
But my workaround was to just keep incrementing the max column. For my project and number of entities, I would not be in a position to run out of columns - even though filling the blanks (essentially a left align) would have been more visually favorable.