The "net income" is incorrectly calculated. It uses the formula "income"-"maintenance"-"spending". However, spending *already* includes maintenance, so the maintenance gets double counted and the net income reported is too low.
It could be that "spending" is not supposed to include maintenance, but one or the other is wrong!