Fixed looping check.
Merge remote-tracking branch 'origin/master'