I agree, and I apologize for it. I will modify it to check that the model's getColumnTypes()  contains the key or not.