take into account lines with errors when comparing rpn lists