Move empty policy element check to also catch last element
2 files changed