Fixes 'OnlyTagList' option

Fix for the 'OnlyTagList' option. If set to true, it will limit allowed
tags to the list inside the new 'tagList' option.

References:  #164 and #171