Corrected email lookup bug.