lists: Don't crash rendering a selection

This patch fixes an issue where a fatal error would be triggered if the current value of a selection field on a custom form was a custom list item that has since been deleted.