Fixed a problem with the function "get_params_wordreference."

- Faulty logic: `||` was changed to `&&.`