Removed unsafe downcasts in the results of adding a tuple to a relation
and list relation

- otherwise the exception is thrown if the tuple is of a different
arity.