Calendar filling in of the previous patient when creating an encounter

We are using Ubuntu 18.x, OEMR 5.0.1(6).

The situation is that when adding more than 10 calendar appointments in succession. The browser starts to hold on to the last name that was entered into the add_edit_event form. We have tried turning off autocomplete in the browser. I have added these lines

  header("Expires: Tue, 01 Jan 2000 00:00:00 GMT");
  header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
  header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
  header("Cache-Control: post-check=0, pre-check=0", false);
  header("Pragma: no-cache");

A clinician will come to the calendar and add entire weeks worth of appointments to the calendar at a given time. This is the way they do time management for payroll. So the calendar has a dual function and is not filled out by someone at a front desk only. This is what causes the anomaly that I am referring to.

Just wanted to get some other thoughts on this situation as we are having other specialties using the system that is not using the calendar in the traditional entended method.