Used the right database instead of the wrong one