Fix incorrect element DOM ID for pendings-view.