Fixed a tiny bug, surprising that it was working anyway. Thanks, typescript.