fixed a bug where the proper expense elements were not being removed