Removes surplus themes