Fix issue with multiple optional parameters in Slim.