Fixes comment spamming issue when anti-spam is turned on (reCaptcha wasn't tested due to bad code logic)