bad filtering on contract list (same sql rule as project)

bad filtering on contract list (same sql rule as project)