Abstract the logic of getting last bundle notif into a method

We will likely need the very last record when building a bundle
notification in some cases ( talk page diff, flow unread post etc ),
it's better just to have that logic in a method

Change-Id: I8121e0cbed2beb066e27953d79225bb99c550553
Merge "Abstract the logic of getting last bundle notif into a method"