[Fix] Solved a problem caused by 'where.not' when using the globalize gem