Fix: `filter` returns an iterator instead of a list in python3.
Missed this instance :(
Fix: `dict.keys()` does not natively return a list in python3.