Is last_message is a ContentData object. If so, i suggest to use [ContentData::==](https://github.com/bbfsdev/bbfs/blob/master/lib/content_data/content_data.rb#L204).