Attempted fix of Issue #1

Removed unnecessary cast to Integer.