Update type conversion

This fixes issues with questions not having types.