Fixed error when editing a shot with no tasks assigned