Make sure profile exists when deleting

I've got an error when profile was not found :)