Losses of runaway electrons in MHD-active plasmas of the COMPASS tokamak. (11th May 2017)