Remove the check for custom_conditions.