Fixed handling of reverse adjacencies