Fixed one issue with TBB code path for scanbyKey