Fix a bug with custom:// scheme and multiple posts