Fix lanyrd event finished check for events that don't specify an end time
and tidy/remove duplication around code for event start and end dates.