Fix issue with class not finding parent - refs BT#7288