Correct minor bug in BBM.fn.pop() and BBM.fn.shift()