Correcting queue code
Don't include events in queue when bookkeeping