Small modification, should check for whitespace pattern even if policy is always.