Flowrouter - how to get query params with # in the URL

If I use getQueryParam funciton when there is a # in the url it returns undefined. The url change is instigated by clicking a bootstrap tab. This is importnat to mentino because if I simply type the full url in the browser and hit enter the getQueryParam() function returns the correct value.

Any ideas how to to get around this?