Fixed bug with empty values in the pattern rule; Changed behavior of viewing array errors