Fix upcoming events view to dispaly correct events.
Add update function.
Merge pull request #6362 from openscholar/6359

Fix event displayed in the upcoming events view.