Fix action issue. Pass along snapshot in 'after submit' middleware