Fix status type conversion