Fix a bug where pre 0.6.0 clients cannot publish