The motion to remove Green MSP Maggie Chapman as deputy convener of the Equalities Committee was defeated.