Fixed getListingsById to properly use the requested listing type instead of the undefined $queryType. Cuts back on the amount of data returned as well.