Tweaked getOwner method in Map