Fixing small bug in the lockin/unlock mechanism for new percentageComplete