fixed statement caching issue in find by when key is a table name