Fix a false positive for trivial writer (fixes #211)