Fixed bug in polarity parts experiment