I don't have time to enter into the debugger now, but if I remember correctly there was some sort of error in case `res_base` and `base1` are `Tuple` instead of `list`... should be checked.