Add fallback for NULL parent