fix for more_results method

It seems method more_results works incorrectly, if after normal resultset appears "not real" one (for example call of procedure)

unit-test by Alexey Melezhik, https://rt.cpan.org/Public/Bug/Display.html?id=45684
code by Andrey Zapariy