Simplified webform_workflow_get_available_states().