Fix PHP warning on empty budget/revenue #113