TEMP fix for issue 94

TEMP fix for issue #94
Fix issue #135

Fix issue #135, if the activity has no type concatenating it for the table looping on a non existing array is pretty difficult :(