Why hidden fields are not retaining values from matrix fields?