Fix for the __determine_data_type() method.
The flags were not correctly checked.
Authored by: bugman 2008-07-09
Parent: [r6907]
Child: [r6909]