LPS-34155 instanceId necessary for friendly urls since media gallery is instanceable now