Fix looping over non-existent object
version bump v1.3.1