Fix typo on pendings var in view.