Updated 'isdefault' SQL field to smallint instead of int.