[BUGFIX] Properly check type of POST vars on clipboard action