Fixed bug with lastSuccess parameters.