FIX bind values tests

Previous change introduced a regression : bind_values are tested before
they're actually set.