Fixed crash when using definitionKey with arguments