Added break, when key has been found.