Fixed small bug that only occurs under PHP 5.3.3