flagging update

Updated to stop entering duplicates and to filter out non-danmer and
repair jobs