Fixed untrimmed spaces in Bash Tag extraction.

This was leading to the Filter tag being unrecognised if it was first in
the list of Tags, and so having missing master error messages being
erroneously generated.