Fixed incorrect counter moves logic