Bug fix

Handle single record returns