Improved logging so we print the expression on functional indexes