Fix bug with handling broken messages parts