server: fixed problem with more than 100 layers in QGIS project file (closes #205)