Revised partition_artist_array() to avoid negating any if-statements