Fix Class cast Exception (see #9960)
Merge pull request #882 from jburel/class-cast

Fix Class cast Exception (see #9960)