#139, Fixed problem where badges not writing to queue.