Fix error with options structure that was not an array
Merge pull request #18 from scorring/master

Fix error with options structure that was not an array