Fixed SQL to be current date, also it will no longer rely on a field that we removed from the db [skip ci]