Don't assume that the parent id is always present in Spring interceptor.

The current implementation of the Spring interceptor assumes that the parent id is always present when it is an optional value.