changed the usages of notfoundok to boolean values rather than strings