Yeah, this is how it worked in 4th gen, too. If all opponent's of a Pokémon with Trace had untraceable abilities (Trace itself, for instance, is not traceable), Trace would instead activate the moment an opponent that did have a traceable ability came onto the field.
In fact, there was a loop...