Preferences were converted into 32 bit numbers, needed to perform the
same conversion when matching the items.