Get an active pair with shift() instead of pop()