The user can enter multiple same prefixes for some commands (addInsurance, deleteInsurance, addClaim, deleteClaim, closeClaim), and they would seem to work, but only the value of the last repeated prefix is taken into account. For example,
addInsurance 1 iid/0 iid/1
will add the Travel Insurance Plan to the first client in the list. This behavior should be prevented like the add and edit commands.
Output of addInsurance 1 iid/0 iid/1:

Output of edit 1 n/Alex n/Yeoh:

The user can enter multiple same prefixes for some commands (
addInsurance,deleteInsurance,addClaim,deleteClaim,closeClaim), and they would seem to work, but only the value of the last repeated prefix is taken into account. For example,addInsurance 1 iid/0 iid/1will add the
Travel Insurance Planto the first client in the list. This behavior should be prevented like theaddandeditcommands.Output of

addInsurance 1 iid/0 iid/1:Output of

edit 1 n/Alex n/Yeoh: