Attempt to fix enum cast error
This should be here
Merge pull request #279 from elandau/queue

Attempt to fix enum case error