Foxx Repository: Also check the returned object of byId