Corrects error that would return status twice in API json