Small bug fix in doctor record