Removed caching the object. Was causing errors.

If the object is empty it will return true, however if there is more
than one property e.g. from, to. It will cause the whole check to fail.
This will still work if there is another object defined inside the
options object.
Merge pull request #7 from agirton/bugfix/undefined-check

Removed caching the object. Was causing errors.