Remove the filter parameter when empty.

This also fixes the e2e tests.