Fix aspect context error when result was null