That is reasonable, because a stillborn is a hardship and has monetary and time loss associated with it. The thing I couldn't imagine would be akin to charging someone property tax on a fetus.
The Leviticus passage was regarding charging a household taxes based on the number in their household, you pay more tax the bigger your family is (which means the more assets and workers you have). If they were under one month of age, they didn't get counted.