Make result format recognition more robust when there are mixed formats in the same row. #24