Analytics fix

Some validations weren't correct which stopped the cronjob to receive the data.

When the analytics started working again it didn't show the graphs because of rendering problems in Highcharts. Fixed in the new version.


Also, no error was shown because of the output bug, see #443