Fixed some POST and GET functionalities to do with NULL values.