Not sure to be honest, I tried changing my extension boards to 2 and 3 and reverting them back to 1. This produced the expected result of showing only 16 stations. I assume during one of the upgrades of the interval program something went wrong. Hopefully after the manual intervention of fixing snames.txt this will never happen again.
However, I will fix this permanently tonight by incorporating some logic into my get_stations() function.
Update: I added this fix which also fixed another bug. Hope this helps!