Added safer lookup for value in form_dict