Fixing NPE in releasing components from a selector: the components were released in the wrong order: first the selector and then the components from the selector...