Fixes SQL error.

ip -> host.