lcproc: dereference columns for different lctypes correctly
lcproc: dereference columns for different lctypes correctly

lgbouma/astrobase,lgbouma/astrobase,waqasbhatti/astrobase,waqasbhatti/astrobase,lgbouma/astrobase,waqasbhatti/astrobase