moved location of boolean data conversion to make sure the _values property holds a consistent value