Fixed getChildren bugs when path doesn't end with separator in MongoDB MaterializedPathRepository