Shonanoka is actually the sixth day after one's death; it is called the seventh day after one's death because the day a person dies is counted the first day after his or her death.
初七日は、命日を第1日と数えた第7日、つまり、命日の6日後である。