Added join to projects table when querying hashes table, which was missing before