Replaced irrelevant and removed unused get result flags.

https://github.com/Starcounter/Starcounter/issues/1622