Optimized selectors in another tight loop

Found another selector repeat inside of a tight loop. Cached the selector before entering loop
Merge pull request #4435 from jackmahoney/patch-1

Optimized selectors in another tight loop