core: fix bug which prevents symbolic callback to retrieve all expressions