#1524 Fix cast model id for edit all (state: open)

Assigned to
zonky2