Forgot to remove a comma before 'WHERE' in the SQL update syntax when
creating an IP reference.