Fixed several bugs with the persistence of proposed medication changes and finalized medication changes.