Fix a conditional in get_form