Union: Untrained workers used to cover staffing shortages in jail