Fixed adding new appointments