Fixed crash when data is deleted from the MedicationsListTableViewController