Fixed reference to queue inatance var in ArrayQueue