Move portDB attrs to loop() local vars.

The preceding check only the results.  This check verifies that the internal state was unaltered.