Fixed silly mistake, although it seemed to work.