A small bug fix for ->exists