fix #2036: check if the fragment is added
Merge pull request #2060 from wordpress-mobile/issue/2036-ise-showusernameerror

fix #2036: check if the fragment is added