Fixes issue with returning nil when no object in Activity.