Fixed mongo adapter to work with new stores requirements