Fix issue 2322

https://code.google.com/p/osmand/issues/detail?id=2322