Fixed error that resulted from no tags being returned by the API