validate that hours are integers (fix #168)