Added findByFailureId query to BaseData.