I tried to reproduce the behavior on 1.0.1 and it was working fine. No idea what caused the bug before.