Bug 858077 - Check for unknown object flag before checking number of objects r=bhackett