Fix 404 when using month link

The link didnt check if there were actual events or weather
It could link to days with only errors or configs