I would say it's OK if the ends are tightly capped. Sealed ends prevent the paper element from absorbing moisture from the atmosphere, which eventually swells and blocks the filter.
If the engine feels as if it is starving after the filter change, that is your sign that the filter is not good enough. Whenever I buy a new oil or fuel filter, I always check first to see that the seal has not broken.