Optimized whitelist jugglery.

Refs #1708