Fix PHP notice with 0 difficulty