fixed caching of prepared statement ids for cql3