OK - thank you for that - it should help clear the confusion that way.
The other thing I've noticed is that when auto-cron sweeps through incoming support emails, the tickets are generated with the wrong number (thus causing the issue), whereby if the incoming support emails are swept because of agent action on the web page, the tickets are generated correctly.
Would that help you in getting an aha! moment?