Fixed a bug that didn't properly remove masters according to a new change from a while ago. I forgot to paste it in that block.