Fix a bug when setting release type