lists: Don't crash rendering a list

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.
Merge pull request #1113 from greezybacon/issue/custom-list-retired-vals

lists: Don't crash rendering a selection

Reviewed-By: Peter Rotich <peter@osticket.com>