Some bugs fixed on Assignments creation and edition