Fixed a couple bugs with the Ember decorator and with the MySQL repository