Fixed problem with no log record for execution in query for size