assign hadron flag correctly for proton SIDIS generator