Fix in select query Devices class

Fix in select query Devices class
Merge branch 'master' of https://github.com/MusesProject/MusesServer