Made key check force string conversion