remove blank ids in the params hash,

For example,

{
"name"=>"param name",
 "story_topic_id"=>"",
 "artist_ids"=>["89", ""]
}

becomes

{
"name"=>"param name",
 "story_topic_id"=>"",
 "artist_ids"=>["89"],
}