Correct Array index

I am using your plugin and it currently renders an empty <li> tag in the HTML. Upon going through your plugin I noticed it isn't deleting the first item in the array - Only a small modification but having empty HTML elements in webpages is probably undesirable for most (it was for me).