Fixed Select callback to allow multiple rows to be returned