Make sure we only copyvio check pending submissions; refactor.