mapfishapp: fixed legend label not appearing when only one class is available