#1130 Fixed bulk invite functionality