Fixing #112. Filter sp by charge type.