Bug fix: the numbered_paragraphs condition was reversed