Solves #214 Tag based search wrongly case sensitive

Allows Tag based search to be case insensitive except when the length of tag is one when it is uppercased