Tiny Flaw in Hash Tag Search

Right now when I click on a hash tag, it places the hash tag in the search box above followed by a single space.
This is a problem because this will only return instances where the hash tag is actually followed by a space.

All the hash tags that are not followed by a space are not displayed.
This is a HUGE problem because it completely defeats the purpose of the hash tag search since only some are returned and others are not.
When I manually remove the space out of the search box, all hash tags are displayed, which is of course the expected result.

My suggestion for the programmers to solve this is:
instead of adding the lingering space (which serves the purpose of separating the tags in the search box) after a tag, add the space before the tag (but only if there is already text in the search box).
I hope this makes sense.