Bug 417881 - ignore non-integer values

Proposed fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=417881

Eclipse CLA signed
100% own code ;)