Fixed generation of location headers and representations for modifying
resource views in cases where IDs were missing because of delayed
flushing in the backend.