fixed 'moveToRecordStart' method to handle more obscure cases