Fix a bug where an item could get pushed into history twice
Fix a bug where an item could get pushed into history twice

You previously had to hit the back button twice sometimes.  Now it functions as
expected.

cjfuller/labdb,cjfuller/labdb,cjfuller/labdb,cjfuller/labdb,cjfuller/labdb