Relative Root URL Plugin not working

I am using the plugin Root Relative URLs.

In 3.5.1, with permalinks set to /%postname%/, when going to a page or custom post type using the default permalink /?p=xx, where xx is the post-id, I get a 404 error. It works for posts, but not pages or custom post types. However, if the plugin is disabled everything works great.