They were just ponies who had the same body design for Scootaloo and Sweetie Belle. The show actually recolors ponies a fair amount at least, but it doesn't happen with main characters that much, but it still does happen. So basically there were two background ponies who were recolors of those ponies. I don't think it's an error, although one of them is shown as Sweetie Belle at one point.