Fix typo in Engine::removeTP & detachFromCondition

Introduced in 982b8431 ;-)