Fixed some DB handler methods.