Here you are checking only for type 'blob'. So it will fail for other blob types. 
I think its better if you use PMA_isColumnBlob($column) function for this check.