Fixed bug that left restored/enabled apps not upgraded

eom

Signed-off-by: Robert Tipton <tret@tretflix.com>