Removing nil hash values from artist.profile method causing unexpected behaviour

Call with empty artist ID param was causing library returning ERROR 5. Echonest was empty ID param handling as invalid.