Fixed issue with textarea content not being recognised