fix for delete assignments redirect bug