Bug Fix: getPositiveInteger function signature