It is now impossible to add an empty filter (this caused rendering errors)
removed debug statements