Fixed bug, where indexing of a new annotation would throw an exception, because of missing relation.