I kept this consistent with the EventEntity class.
Personally though I'd use a ternary operator, or at least remove the else and just return null at the end