Even if the SQlite column is typed as boolean, I am getting an integer value and having to explicitly cast it to boolean