Fixed reference to queue instance var in ArrayQueue