Fixed a bug in export csv

The bug was if a event has no penalty and its result is being
exported after the release dates, an invalid index error appears.
This is due to the penalties array being empty. I have now fixed the
bug to return N/A if the penalties array is empty.