Use eraseByURI() instead of eraseByURIPrefix(), and fix params