Corrected bugs in faceverification utils.