Add a null check for observed date insertion
Merge branch 'dev'