Another bug fix for celery