Fixed possible NPE by getting game start or end time (Fixes #323).