Fix database mismatch for worker daemons