isolate deleted_at code in Observation model