make appointment widget date sort null safe
Merge remote-tracking branch 'origin/master'