[OE-4763] overflow bug fix
Merge branch 'develop' of https://github.com/openeyes/PatientTicketing into develop