Boundary and interface conditions within a finite element preconditioner for spectral methods