Moved if statements to make creation of skipgram targets more effective