Fix for opts undefined error.
Merge pull request #4 from Battlefy/bugfix/find-opts

Fix for opts undefined error.