Fix for multiple return output on relational returns