Modify the interceptor to better handle local ejbs