Fix parameter list for has_one association.

- Change from find to where, expecting an array with a single result.