Hi Peter,
> It seems that the application can not handle this.....
This is done on purpose. If the system detects the same label used for different parameters in a query, it will display only one box with this label, but use the value the user enters into it for both parameters in the query. This way the user does not have to enter the same value twice if he wants to search for it in different attributes. For example, below is query "Item using single parameter" from the Library sample application:
FIND Item WHERE Item.Title CONTAINS ?Parameter OR Item.Author CONTAINS ?Parameter OR Item.Code CONTAINS ?Parameter ORDER BY Item.Title
The system will show only one box but will use the user-entered text to search for it in several attributes.
In your case this happened by chance because two attributes had the same name. To get the system show separate boxes when asking for query parameters, you do not need to change attribute names or rebuild queries. All you need to do is to switch to the Rule Form and change the label after "?", for example:
FIND People WHERE People.Name CONTAINS ?Name AND People.Surename CONTAINS ?Surename AND People.Company.Name CONTAINS ?Company