Fixed an issue where a POST value was not checked properly.

This commit addresses Issue #36