Fix error when no secretary found