Fixed bug 3912

Not only the scenario mentioned http://sourceforge.net/p/phpmyadmin/bugs/3912/
there can be other scenarios like export row(s) resulted by group by, having queries.