Propertly convert boolean string to real boolean