Allowing null entity in not found resource