Added d1 and d2 hidden fields to obs/index.