Fix logic bug, bump to 1.0.2.