Revert stockQueries.py changes