The role of MHD in causing impurity peaking in JET hybrid plasmas