Fixed Analysis Period Bug