Revised find and keyExists.