Barebones functioning database puller working (well, it was working)
Changed to filtering correctly as specified by DBA