Fix/internal error deleting projects