Don't set journal index if a higher index is currently set

This is vanilla behaviour, and required for the Mehra Milo vivec informants quest.
Make getCurrentAiPackage return the package that was run last, not the package that will be run in the next frame.

This makes the Mehra Milo script work properly.