Added integer boundary checking and flagged bug.
Added initial protocol for missing values.