R: attribute query does not convert the whole vector, #574.