Fix bug which would slow down queries by predicating sinks when not required.
Fix bug which would slow down queries by predicating sinks when not required.

foam-framework/foam2,foam-framework/foam2,foam-framework/foam2,jacksonic/vjlofvhjfgm,jacksonic/vjlofvhjfgm,jacksonic/vjlofvhjfgm,foam-framework/foam2,foam-framework/foam2