Fix for type error on getting "queues"

for https://github.com/mher/flower/issues/67