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