Fixed a bug involving commit updates