_deleted should be deleted and fixed off-by-one in decodeKey