Fixed errors generated from statistical significance calculations