Fixed a minor bug. Verified compatibility with WP 3.9

Fixed a minor bug. Verified compatibility with WP 3.9