If I create a queue of max size I'm able to insert more than that. At least one. When emptying the queue it seems to have overwritten the first value.