Fix OpenStreetMap profile parsing.

Fixing #1881