Fixed infinite loop in PropertyService.allProperties() when no properties were defined