Fix to make sure that keyword arguments for a scoring function are applied when calculating the grid_score for a given fold.