Fixed typo "ofset" that was causing incorrect record result numbers in output.