I was running into the same bug as well.

Tried downgrading, and seems like 4.0.2.1 is not affected while 4.0.3.0 and later are affected.

Tnx
Arie