remmoved excessive loops
Merge branch 'dev' of github.com:nZEDb/nZEDb into dev