Fix issue with using more than two features

The SQL query was being coerced into a string after the first two
features were joined by the SQL "OR" operator, but before being joined
to the third feature. Instead, we should coerce to a string after the
entire ARel AST has been fully built.