I have two nodes that belong to one of the two labels:Class or Method, as is encircled in yellow in the two images here. The cypher queries to look for Method labelled nodes are working properly in all cases. However, quite strangely, the cypher queries to return Class labelled nodes give empty results when using properties to select certain nodes. 
In the image above, it can be seen that the query Match (n:Class{Cycles:"52888"}) return n that is encircled in red, gives nothing, although such a node exist as is encircled in green. It is to be noted that a query for the Class nodes without the use of property runs fine.
The problem became even more confusing when similar query worked absolutely correctly for Method labelled nodes even with use of property to select certain nodes as is visible in the image below.
Can anyone explain why the Cypher queries are behaving differently with the Class labelled nodes and what is the solution to the problem.
Cyclesis a long and not a string. If this were the case, then matching on the string would fail and return nothing. I notice you're using backticks on property names where not strictly required. Is it possible that the property name contains some strangeness? I.e. if the property name were "Cycles " (with an extra space) then naturally the query's failure would make sense. Numeric properties being strings raises other possible problems like space padding as Michael suggests. - FrobberOfBits