Fixed function for Boolean, March 7,2013