Fix crash and logic error in comp ions for newmodern (#745)
Fix crash and logic error in comp ions for newmodern (#745)

* ModernSearch CompIons Fix

* Modern Search Comp Ions Logic Error

rmillikin/MetaMorpheus,zrolfs/MetaMorpheus,lschaffer2/MetaMorpheus,XRSHEERAN/MetaMorpheus,smith-chem-wisc/MetaMorpheus,lonelu/MetaMorpheus