Added empty check for repeater sanitisation.