only converting datastore flag to bool if it is a string