Fixing index out of bound exception on management server startup.