Fixing improper input syntax and failing bounds check
Merge pull request #4955

87314c1 Fixing improper input syntax and failing bounds check (ENikS)