Minor bugfix for prev update