Rescue top_ancestor error