updates to get situations working, had to replace clone call with new dup method from rais 3-1 and also had to remove some active record ordering on groups that caused sqlite syntax errors