Fix bug that prevented -u flag from working.