Fixed UnsupportedOperationException when viewing  past events

Added another null check to fix the other exception that came up in #122.