RavenDB-2504 Comparison to integral constant is useless; the constant is...

... outside the range of type 'int'