Ray Switcher not working correctly in latest build

  1. Create a material with reflection and refraction enabled.
  2. Create ray switcher material
  3. Add material from 1 to reflection and refraction channels in ray switcher material.
  4. Adding material from 1 to directly visible channel also makes incorrect results.

Full-speed non-debug version
Build timestamp: Jun 4 2019 19:33:27
Version: 4.0 rc 2 (core 4 (Release Candidate 4))
Cinema version: R20.059 CINEMA 4D Studio (single-license)
Plugin status: Plugin successfully loaded