Revert "Fixed Database get methods"

This reverts commit bd5dfaf28b42d32fc87fd388a3fe45b8e8062918.
Fixed Database get methods