beomon_compute_agent.py: Fixed a bug where stale data was being written to the DB in daemon mode