[FIX] Fixed a lookup problem as well as a cast problem in one of the tests.
Merge branch 'feature/stream/bgzfstream' into feature/stream/fix-store