Update class.searchmodel.php

The search term is added too late to the EventArguments array, so they cannot be accessed when you hook the "Search" event.  
Just putting the line before the first FireEvent solves that issue.