KFSTP-1491: ignore balances which do not fit within a cost category

hi james