TaskAssignCollectionCommand now returns code -1 when in maintenance-read-only mode