Fix ajax relationship return