KotlinC now optimizes Int.toInt() away. Thus we need to actually convert to declared column type any values extracted from DB.