Build item sql filter at start in case items don't