Removed parent constructor in Subject model as it was causing errors on inserts.
Fixed reading of rows so skipped when empty.