Fixed error in slot filtering in hospital view.