Fixed bug when returning a single result row.