Make labels unique inside a gallery
Probaly improve perf (less repo directories scanning when inserting)