Fixed issue hook

* array accessed via string, not symbol
* dates test now also checks for variant with "\r"