Fixed error logging for legitimate record types