Fixes #1037 - close filterchain element