Speeded up single queries by using only the desired parameters.