Small fix to the shortcode generator attribute array comparer