Bugfix: way_id was not always increased