Fix dynamic segmentation filter creation

This requires an argument, which becomes `parameters`.

Change-Id: I69129845c84e405a5654340fe43733cef1c536e4