Fix typo in queue len function