Fix parent location/metadata caching for draft and published xblocks