Bug Fixes

- Finished testing the query file
- TODO:
- Find error in select