put type checking before looking against choices array to always get type comparrison correctly
put type checking before looking against choices array to always get type comparrison correctly

thaim/ansible,thaim/ansible