title: Parcelable array passed with kotlin is emitting last item
body: <p>I'm trying to pass an array to my activity, but for some odd reason the last item of the array is passed as null</p>
  
  <p>Here's the code</p>
  
  <p>Helper function to create the intent:</p>
  
  <pre><code>@JvmStatic
          fun newTutorProfile(context: Context, webinars: List&lt;Webinar&gt;): Intent {
              val tutorActivity = Intent(context, TutorWebinarProfileActivity::class.java)
              tutorActivity.putExtra(WEBINARS_ARG, webinars.toTypedArray()) // Array contains two valid elements
              return tutorActivity
          }
  </code></pre>
  
  <p>Extracting the array from the intent:</p>
  
  <pre><code>webinars = intent.getParcelableArrayExtra(WEBINARS_ARG).map { it as Webinar } // array contains two elemnts but the second one is now null
  </code></pre>