Failed attempt to use prepared statements in the database