Merge pull request #86 from amcgee/flash_queue_bug

Fix flash queue bug