Plugin: Fix IndexError

Fixes #6
Plugin: Fix IndexError

Fixes #6