Fix receiving records from mikrotik.
Fix handling errors.