'Exists' bug fix