Do not count DSL optional parts when calculating the limit for article auto-collapsing (issue #338)