Update exists? method.

Fix for issue #129