Fixes problem with celery module type.   Closes #2109