Fix issue where invalid tower IDs were being used
Fixes ATR-23086. The issue was that the forward g towers aren't in the database so the ID helper returns nonsense from them. I added a check for that case and now it shouldn't try and access invalid information.