Off the top of my head, create a getNotificationData(Account acct) that takes care of this logic.  It's a lot clearer than magic numbers.