Fix bug #4 (crashing when stored procedure returns out parameters)