Fix doctor's and patient's schedule listing, and remove warnings from source