Bug fix: exists() malfunction (Issue #401)