Fix to bug 3409 (http://trac.openstreetmap.org/ticket/3409)