Fix error when parsing record arguments