Does group composition affect learning by invention?