fix (StatementCache.php) add check that entry is already in cache