Fixed commit comparison during update.