BUGFIX: fix regression in TF calculation (wrong sympy assumptions).