Code formatting
Unindent comment
Throw an exception if seeking is not supported or the record index is out of range