Fix issue with new branch query data getting used incorrectly

See <https://github.com/facebook/phabricator/issues/429>