add missing else in patient redirect