I cannot reproduce this with osm's builtin routers, so I think it's a bug in Osmand, not a problem with the map. Read Osmand's documentation how to get help in situations like this: https://osmand.net/docs/user/troubleshooting/navigation#the-calculated-route-does-not-seem-correct