Set revision to 0 after drop. Closes #178.