Interlocking tenon and mortise joint for seat rails of chair to leg