Delete APs when you're done using them if they're not ones you'll regularly access. This is especially important for open, unencrypted WiFi since a malicious AP could claim to be that ID.
The only way to prevent this behavior entirely is to shut off WiFi.