Form functions did not prefill properly if value was zero