Brain: Fixing the issue where max was not being met for post of 1000 and above due to invalid comparison on string greater than
Brain: adding exception handling for logic form