Catch edge case in get_preference