Add exception when cannot access to field in magic relation