fixed undefined value in status template
fixed listing recurring downtimes with limited permissions (fixes #223)