Check for direct parent before parent's parent