fix(import): Check for PARAM attributes attached to non-existing frames (closes #4859)