Ignore sort order for activity index if unmapped

This prevents an error from being raised on a fresh deployment if no
items have been yet added to the activity index
Merge pull request #203 from editorsnotes/user-logs

Ignore sort order for activity index if unmapped