Various fixes, appointment search working.
Various fixes, appointment search working.