Fix some error-handling bugs in python frame filters