Bug Fix (WHERE ref works even if no attr ref)