Fixed get appointments list method