`exec_sql(check).include?("t")` is always **true** here.

The output of this query (from `exec_sql`) is either:

```sql
 exists
--------
 f
```

**or**

```sql
 exists
--------
 t
```

It's finding the "t" in exists.

Changing line 449 to this works (though ugly):

```ruby
@statements = exec_sql(check).gsub(/\n/, '').split("--------").last.include?("t")
```