simple fix for wrong type detection of SQLCustomTypes
Merge pull request #289 from michele-comitini/SQLCustomType_in_grid_fix

simple fix for wrong type detection of SQLCustomTypes