Bugfixing

Fix to https://code.google.com/p/osmand/issues/detail?id=2421