Github user ijokarumawak commented on the issue:
https://github.com/apache/nifi/pull/2657
@viazovskyi LGTM, +1. Thanks for finding this, providing the detailed steps
to produce the issue and fixing it! The newly added unit test clarifies how it
should behave. Merging in.---
