Smart version now also works with proper fragment data.
Improved needle selection for smart version.