Bugfix: Change field type to int for backwards compatibility