Support safely checking for delete

The 'user' param may be null if a user wasn't logged in