The role of defects in the transition between different symmetries in convective patterns