MT#8495 Handle another level of nesting in banlist

(cherry picked from commit 42ff210adb1d55d4c4e0cd61d0120113dc4b83b7)
MT#8495 Add some test data for banlist handling.

(cherry picked from commit cbe335a5e0ec26824d07b185c7323edef431f4c9)