     # We require calling on subclass for now.
     throw new Error "Not supported." if @ is Job
 
-    query = @_constructQuery()
+    query = @_constructQuery data
     @findOne query, options
 
   @exists: (data, includingCompleted) ->

    statuses = JobsWorker.collection.jobStatusCancellable
    statuses = statuses.concat ['completed'] if includingCompleted

    query = @_constructQuery()
    query.status =
      $in: statuses


    # We require calling on subclass for now.
    throw new Error "Not supported." if @ is Job

    query = @_constructQuery data
    @find query, options

  # This query limits the results only to documents of the same type. So "Job.findDataOne" will not return
