Fix : task attachment validation