Fixed bug that happens when the labelIds field is not present on an API object