fixed primitivesOnly option for joinedWithClass