I don't think it ever should have been cast. That column is an Integer.