improved duplication search between quest array and active quest array