I have tested this on my local install, it does work. May be you don't have user with that IP in your database? Please note it will search for IP address which is stored in user's account on signup.