Whoops - forgot to assign currentOptions to an array - it should work now.