Check for selected parent