Plugins (nebulus): Fix out-of-bounds array access