BUG: ewma() weights incorrect when some values are missing