fix missing return statement in CreateMathIndex.php