Fixed some database stuff from ResidentMedicineActivity...