Fixed messagetypes resource bug

* .../messagetypes should return empty array instead of missing one
* just like in other resources