Ignoring nil from the array passed to eager_load method