JAL-3336 add better method of determining where data table begins