Revert "changing method for db query"
Revert "changing method for db query"

This reverts commit 47c584fe9183ff82eff884156db44cfe24e0df09, reversing
changes made to 6f5f994d58f21b30746ea27d2299309890cf5617.

expertiza/expertiza,expertiza/expertiza,expertiza/expertiza,expertiza/expertiza