Fix find_by_params() in model to convert string to IPv4 binary.