The Victorian government has denied union claims staffing numbers were an issue on Saturday night when a worker at Malmsbury Youth Justice Centre was allegedly attacked by a group of inmates.