ZK-1960: save binding to an array throws ClassCastException