Group insert bug fix