Fixed Ready Queue pop op bug

Fixed bug introduced in previous commit, whereby popping the Ready Queue popped
from the back of the queue, not the front.