Added missing minus sign on no sync comparison value

A test to check if the no sync message has been displayed used 1 instead.of -1.