fix queue_types bugs related to adding the length field

I thought I made sure the test still passed, but apparently not...

Change-Id: Iae045a475171c96397d3dcf3ed647c41f2c8a1fd
1 file changed