Only when you first login it will include your personal bank bags. Whether it will include the guild bank bags I don't know.
Sounds like a test for you. But seeing as it fires multiple times anyway you would have to count and see if it coincidently fires for each bag you carry with you and in the bank and in the guild bank. The question then is how do you identify which is which ? bagID perhaps but that could be simply 1 to x where x is the total number of bags it has found.
Play with the events and code a bit and when it looks like you have got your problem somewhat sorted update the thread in case others are reading it for their own inspiration