fix bug in conversations view causing server error
Merge pull request #4665 from svbergerem/fix-500-conversations

fix bug in conversations view causing server error