Modified lookup module to remove missing values.