More efficient algorithm for comparisons.
Merge branch 'master' of https://github.com/carewebframework/carewebframework-core