#1017770 by aaron: Fix the update process was aborted prematurely while running update #7208 in styles.module.