Fixes pAI and AI SecHUDs showing one ID at a time

The proc was prematurely terminated due to a "return" instead of a
"continue" command in the loop.