Fix a few minor errors in Queue