Remove the package created via filter in the same block that creates it. Thus it does not matter what order the blocks execute in