fixed ticket 2550 consistently with IsValid( 'integer', value )
Merge pull request #224 from igal-getrailo/jira-2550b

Jira 2550b