Fixed minor bug in API versioning