Support `without_prepared_statements?` to handle `unprepared_statement`

This pull request addresses a failure reported in #445 by supporting `without_prepared_statements?`.