version 1.2: correct getObjectById to not return marked as deleted