Fix rq deprecation warning.