Database is now working as expected.