OEC-272 Fix Oracle error with more than 1000 ccns

https://jira.ets.berkeley.edu/jira/browse/OEC-272