Translate values when creating the filters. Code optimization