Bug 831196 - Fixing a typo and ensuring there is no updates if flags are false