JAVA-15 Fixed a ClassCastException that was occurring in the Bronto Java SDK.