Fixed a bug in Spring bean scope step instanciation