Fixed Bug 1298. I discovered a potential problem in enter(), which did not update the object pointer when the key did not change. However it is not guarantied that the object pointer is still correct.
Fixed Bug 1298. I discovered a potential problem in enter(), which did not update the object pointer when the key did not change. However it is not guarantied that the object pointer is still correct.

jonasfoe/COPASI,jonasfoe/COPASI,jonasfoe/COPASI,jonasfoe/COPASI,copasi/COPASI,jonasfoe/COPASI,copasi/COPASI,jonasfoe/COPASI,copasi/COPASI,copasi/COPASI,copasi/COPASI,jonasfoe/COPASI,jonasfoe/COPASI,copasi/COPASI,jonasfoe/COPASI,copasi/COPASI,copasi/COPASI,copasi/COPASI