Bugfix: empty array of filters cases a iterator error.