Fixed an error with results parameter.