Change type of page-related fields from string to int