Fixed issue in sync_devices
Fixed issue in upload2vers.py
Handling non existing DB tables when querying for performance data