New version, with foreign_key_exists?