Error in determining who is hung up in the queue_log

I am having the same error described in the FreePBX ticket below. I have attempted to comment out the line but upon reload it is put back to its original state. I have also opened a FreePBX bug on this. I am running 1.814.210.58-2.