updated legacy filtering of associated sections in entries table to make it consistent with the rest