Fixed bug with get_record call parameters