Fixing issue with selectors scope.