Database error after v4.1.0 update

@wtempel, CS was unable to check the license and jobs were indefinitely in the queue.