Added conditional for indexing "Cover picture" array when necessary.
Added conditional for indexing "Cover picture" array when necessary.

cedricbonhomme/shelter-database,cedricbonhomme/shelter-database,rodekruis/shelter-database,toggle-corp/shelter-database,cedricbonhomme/shelter-database,rodekruis/shelter-database,cedricbonhomme/shelter-database,rodekruis/shelter-database,toggle-corp/shelter-database,rodekruis/shelter-database,toggle-corp/shelter-database,toggle-corp/shelter-database