Fix 500 error when calling get_object() multiple times (bug 944723)
Merge pull request #1469 from diox/fix-500-get_object

Fix 500 error when calling get_object() multiple times (bug 944723)