Fixed issue where spending category is not coming due to the cat_id not being passed.