use '0' as string in raw query for postgres consistency