bugfix for PeriodicRecord creation for students with multiple attendance changes in one day
Merge branch 'master' into staging