Initially we had one function handling both boolean and choice fields and  we split up. Looks like we forgot to change this to reflect that