EZP-21315: fixed: move tag-view map out of the loop