Fix for offline location tag logic.