added filter repeat spans