Yes\No type should SetValue with True\False not 1\0
I just burned an hour trying to figure this one out :) So again...should be boolean going in, not INT as it comes BACK as boolean on GetValue (and logically)