Geometric effects on drift wave stability in advanced stellarators