Fix bool as to work for postgres.
Fixing loader