[BUGFIX] TCA: Make ###CURRENT_PID### work in foreign_table_where in IRRE