Corrected Search by tags functionality. It works now

I had to change the database connection so that it would sync to the
right one (it probably hard coded it though) I thought we had it working
so that it didn't need to be hard coded, but I had to do that.