Reformatted Code + Made a small fix

Derp - I checked for if it is >-1 in hiddenSingles instead of !=0