The nodal set of solutions to some elliptic problems: Singular nonlinearities