Fix possible NPE with Execute.