Fixed DB model relationships, hopefully.