Import fix for soft delete

Imported fix from laravelbook#222 since it has not yet been
merged into the main repository. Recommitting to fix formatting.