filter_list doesn't work

I'm not sure why it doesn't work yet. It seems to spin into an endless for
loop though and it's quite baffling especially since I know I have a short
list.