Update MxSearch.php

update to the corresponding http error code 500