Workaround for the fact that the Linode API will sometimes return the wrong type.