Fixed null column values causing exception.