Fixed a few minor style issues and corrected logic for checking based on array status and autotagging options