Update blob.hpp for checking blob indices

Correct index checking for blob