Numpy Random Array With Conditions Misdiagnosed