fixed issue with gallery only displaying one tag per tag group