Fixed problems with badge view showing incorrect value or not showing at all on collections view.