Calculations and conditions sometimes not processing on form