I don’t think your numbers from the database add up— 46796+96731+559=144086 not 174,777.
Unless I missed something, which is always a possibility.