Hi Pratheek,
If you talk about this comment :
"The problem is when adding this method, it locks the "+" search criteria : we can't add or remove search criteria with this code !"
=> when I click on the "+" button on the right of the search criteria, there is no response, it still in the same way, so it's a problem !
Hope it's clear