Fixed a crash caused by attempting to iterate through preferences instead of strings.