Bugfix: mapcat now handles empty lists properly

 - that is, by returning an empty list instead of undefined