Skip foreign keys that don't exist as attributes of a given model