Fixed regression in SpEL's constructor resolution

Issue: SPR-11348
Polishing