Don't index PHOTO and truncate value to 254 chars. Fixes #306