Changed skey and fkey retrieval