Fixed an infinite loop

Fixed an infinite loop that was caused when Wikipedia was not able to locate an entry