Fix for infinite loop when filtering social report