I haven't reviewed the clean-up code for notifications, but I can only assume it does its janitor work within these two tables: