Dynamically add package specification-version for filter matching