DatabaseConnection::prepare() fix