Fixed crash when numeric preference was empty