Fixed issue with database-relation-joined

Everything is operational except we are still using default values.