Pipeline: Skip except_elements logic if no elements to except
Description
Previously, a fair amount of complicated logic was being done in except_elements even when there were no elements to except.
Changes proposed in this merge request:
- Returns the pre-excepted list of elements if there are no elements to except
This merge request is part of #466 (closed), but is not the entirety of it.