Fixed exists-method

No doc needed.