fixed caching of prepared statement ids for cql2