Fix Bug #3895 Multiple errors trying to view BLOB data

Fixes Bug #3895 Multiple errors trying to view BLOB data

Please let me know if something is out of place.