http://jira.springframework.org/browse/INT-768 Added instanceof check to make locking filter work with namespace.