Fixed an issue that caused an error when a feature had no attributes other than geometry.