fix bug with boolean value because no return FALSE value
Merge pull request #820 from stood/fix_values_boolean

return Boolean value