Fixed error if user adding calendar plugin is superuser