check logic for observationID in mutiple collections