Fixed recent bug with disp.corr. and vdwtype=shift