Handle case where an empty array of tags is passed and rails wants it to be nil