Add missing `ordering` to background database updates.