Second entry into plugin crashes Premier