Yorkshire Carnegie lost 31-20 away to Richmond in round six of the Greene King IPA Championship.