Fixed ca_model->create_sqlalchemy_model bug where the model_class was being set to the child's class causing further elements to fail.
Fixed ca_model->create_sqlalchemy_model bug where the model_class was being set to the child's class causing further elements to fail.

jcu-eresearch/TDH-rich-data-capture,jcu-eresearch/TDH-rich-data-capture,jcu-eresearch/TDH-rich-data-capture,jcu-eresearch/TDH-rich-data-capture