Fixes problem when setting type of a blob