Quick fix for iteration filter giving exceptions